<div id="addBlacklistModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">添加黑名单</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">用户名字</label>
                <div class="col-sm-10">
                  <input v-model="addBlacklistInfo.blacklistName" type="text" placeholder="必填，请填写用户名字"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">开始时间</label>
                <div class="col-sm-10">
                  <input v-model="addBlacklistInfo.startTime" type="text" placeholder="必填，请填写开始时间"
                    class="form-control addStartTime">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">结束时间</label>
                <div class="col-sm-10">
                  <input v-model="addBlacklistInfo.endTime" type="text" placeholder="必填，请填写结束时间"
                    class="form-control addEndTime">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-10">
                  <input v-model="addBlacklistInfo.remark" type="text" placeholder="必填，请填写备注" class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">照片</label>
                <div class="col-sm-10">
                  <img width="100%" height="100%" v-bind:src="addBlacklistInfo.photo" alt="黑名单照片">
                </div>
              </div>
            </div>
          </div>
          <div class="ibox-content">

            <button class="btn btn-primary float-right" type="button" v-on:click="saveBlacklistInfo()"><i
                class="fa fa-check"></i>&nbsp;保存</button>
            <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
              data-dismiss="modal">取消</button>
            <div style="margin-right: 20px;" class="float-left">
              <button class="btn btn-primary" type="button" v-on:click="_upload($event)">上传照片</button>
              <input type="file" class="file" accept="images/*" id="upload" hidden
                v-on:change="_choose($event)">
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>